<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>CivilizationbyQuentin&amp;BJ:  Fichier source de /home/bj/Projet/lib/Ville.hpp</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Généré par Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CivilizationbyQuentin&BJ</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/bj/Projet/lib/Ville.hpp</div>  </div>
</div>
<div class="contents">
<a href="Ville_8hpp.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef _VILLE_H_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _VILLE_H_</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &quot;../lib/Unite.hpp&quot;</span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 <span class="keyword">using namespace </span>std;
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="keyword">struct </span><a class="code" href="structJoueur.html">Joueur</a>;
<a name="l00010"></a>00010 <span class="keyword">struct </span><a class="code" href="structCoord.html">Coord</a>;
<a name="l00011"></a>00011 <span class="keyword">struct </span>Construction;
<a name="l00012"></a>00012 
<a name="l00013"></a>00013 
<a name="l00014"></a><a class="code" href="structVille.html">00014</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structVille.html">Ville</a>
<a name="l00015"></a>00015 {
<a name="l00016"></a><a class="code" href="structVille.html#a4096d91ec7346f0cc893f0b486871958">00016</a>     <span class="keywordtype">int</span> <a class="code" href="structVille.html#a4096d91ec7346f0cc893f0b486871958">pdv</a>;
<a name="l00017"></a><a class="code" href="structVille.html#af9cf186ce4998bdcfa13692699f40945">00017</a>     <a class="code" href="structCoord.html">Coord</a> * <a class="code" href="structVille.html#af9cf186ce4998bdcfa13692699f40945">pos</a>;
<a name="l00018"></a>00018 }<a class="code" href="Ville_8hpp.html#ac9227e6f3682a0cda995946524f40cda">Ville</a>;
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 
<a name="l00023"></a>00023 <span class="keywordtype">void</span> <a class="code" href="Ville_8hpp.html#a2291048a83308e381a1d6b3b834fdfea">Init_Ville</a> ( <a class="code" href="structVille.html">Ville</a> * V );
<a name="l00024"></a>00024 
<a name="l00027"></a>00027 <a class="code" href="structVille.html">Ville</a> * <a class="code" href="Ville_8hpp.html#a95b96eba98ca7adcdcfbe7a1ec25ff82">Alloue_Ville</a> ();
<a name="l00028"></a>00028 
<a name="l00031"></a>00031 <a class="code" href="structVille.html">Ville</a> *  <a class="code" href="Ville_8hpp.html#aded7023fc120d29aa55250432c4c69f3">Creer_Ville</a> ( <a class="code" href="structJoueur.html">Joueur</a> * maitre, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> x, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> y, <a class="code" href="structPartie.html">Partie</a> * P );
<a name="l00032"></a>00032 
<a name="l00036"></a>00036 <span class="keywordtype">void</span> <a class="code" href="Ville_8hpp.html#aa6806389f0a355da2033557f808eb783">Testament_Ville</a> ( <a class="code" href="structVille.html">Ville</a> * V );
<a name="l00037"></a>00037 
<a name="l00041"></a>00041 <a class="code" href="structCoord.html">Coord</a>* <a class="code" href="Ville_8hpp.html#aec68ae89118fa865bb9f487098137d09">Retourne_Coord_Ville</a> (<span class="keyword">const</span> <a class="code" href="structVille.html">Ville</a> * V );
<a name="l00042"></a>00042 
<a name="l00046"></a>00046 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="Ville_8hpp.html#a01f0931df3b89aec2c584d1c68fd15a0">Retourne_nbtours_ville</a> ( <a class="code" href="structVille.html">Ville</a> * V );
<a name="l00047"></a>00047 
<a name="l00051"></a>00051 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="Ville_8hpp.html#a80de8786c59612139b68ce54e1c6ad04">Retourne_Pdv_Ville</a> ( <a class="code" href="structVille.html">Ville</a> * V );
<a name="l00052"></a>00052 
<a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="Ville_8hpp.html#a9cdd11ccc66ab45ff86671a2769e1710">AjouteTour</a> ( <a class="code" href="structVille.html">Ville</a> * V );
<a name="l00056"></a>00056 
<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="Ville_8hpp.html#aeb26b7f278c6f58611c61e6d19bd7913">Retranche_Pdv</a> (<a class="code" href="structVille.html">Ville</a> * V, <span class="keywordtype">int</span> donnee);
<a name="l00061"></a>00061 
<a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="Ville_8hpp.html#a38ad170d44e6d1b824fbde782ee8eeb3">Affecte_Ville_Coord</a> ( <a class="code" href="structVille.html">Ville</a> * V, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> x, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> y);
<a name="l00065"></a>00065 
<a name="l00069"></a>00069 <span class="keywordtype">bool</span> <a class="code" href="Ville_8hpp.html#a010988a38beb4a6a22ef9c3b490e21b6">Norme_Villes_Inf_Trois</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> x, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> y, <a class="code" href="structPartie.html">Partie</a> * P );
<a name="l00070"></a>00070 
<a name="l00073"></a>00073 <span class="keywordtype">int</span> <a class="code" href="Ville_8hpp.html#a75413d61557239c894aaa249d93efe19">Test_Regression_Ville</a> ();
<a name="l00074"></a>00074 
<a name="l00075"></a>00075 
<a name="l00076"></a>00076 
<a name="l00077"></a>00077 
<a name="l00078"></a>00078 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Définition de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Généré le Mon Jun 4 2012 15:07:05 pour CivilizationbyQuentin&BJ par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
